package com.rc.evcharger.model.rc;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.evcharger.common.base.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description
 * @Author
 * @Date: 2022-05-19
 */

@ApiModel(value = " rc_agreement_notification ", description = " 通知公告表（协议表） ")
public class RcAgreementNotification extends BaseModel {

    @ApiModelProperty(value = "ID")
    private Long agreementNotificationId;

    @ApiModelProperty(value = "运营商")
    private String tenantCode;

    @ApiModelProperty(value = "消息标题  关于我/用户隐私/服务类型")
    private String agreementTitle;

    @ApiModelProperty(value = "消息内容")
    private String agreementContent;

    @ApiModelProperty(value = "协议类型 0关于我们 1用户隐私  2服务类型 默认0")
    private String agreementType;

    @ApiModelProperty(value = "消息状态 0正常 1停用 默认0")
    private String status;

    @ApiModelProperty(value = "null")
    private String createdBy;

    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;

    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;

    public Long getAgreementNotificationId() {
        return agreementNotificationId;
    }

    public void setAgreementNotificationId(Long agreementNotificationId) {
        this.agreementNotificationId = agreementNotificationId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getAgreementTitle() {
        return agreementTitle;
    }

    public void setAgreementTitle(String agreementTitle) {
        this.agreementTitle = agreementTitle;
    }

    public String getAgreementContent() {
        return agreementContent;
    }

    public void setAgreementContent(String agreementContent) {
        this.agreementContent = agreementContent;
    }

    public String getAgreementType() {
        return agreementType;
    }

    public void setAgreementType(String agreementType) {
        this.agreementType = agreementType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
